package com.per.mybootall.vo;

import java.math.BigDecimal;

/*购物车展示的时候传输的实体类*/
public class ProductCarVO {
    private Long id;
    private String name;
    private String mainImage;
    private String subImage;
    private BigDecimal prick;
    private int productNumber;

    @Override
    public String toString() {
        return "ProductCarVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", mainImage='" + mainImage + '\'' +
                ", subImage='" + subImage + '\'' +
                ", prick=" + prick +
                ", productNumber=" + productNumber +
                '}';
    }

    public int getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(int productNumber) {
        this.productNumber = productNumber;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public String getSubImage() {
        return subImage;
    }

    public void setSubImage(String subImage) {
        this.subImage = subImage;
    }

    public BigDecimal getPrick() {
        return prick;
    }

    public void setPrick(BigDecimal prick) {
        this.prick = prick;
    }
}
